﻿using ICameraClassLibrary;//引用自定义的接口类库
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;//引用窗体类库

namespace CameraClassLibrary
{
    public class Dahua:ICamera
    {
        public string BrandName { get; set; } = "大华";

        public void OpenCamera() => 
            MessageBox.Show( BrandName +"相机打开","温馨提示",MessageBoxButtons.YesNo,MessageBoxIcon.Information);

        public void SnapShot() => 
            MessageBox.Show(BrandName + "相机拍照一张", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

        public void ContinuousShot() => 
            MessageBox.Show(BrandName + "相机拍照多张", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

        public void CloseCamera() => 
            MessageBox.Show(BrandName + "相机关闭", "温馨提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);

    }
}
